package com.dailyblue.java.spring.aop.xml;

import com.dailyblue.java.spring.aop.xml.dao.UserDAO;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
    public static void main(String[] args) {
        ApplicationContext beans = new ClassPathXmlApplicationContext("aop.xml");
        UserDAO udao = beans.getBean("proxy", UserDAO.class);
        udao.find();
    }
}
